package routers

import (
	controllersApi "dxxgin/controllers/api"

	"github.com/gin-gonic/gin"
)

func RegisterRoute(r *gin.Engine) {

	// 后台路由组
	api := r.Group("/api")
	{
		api.GET("/shangyexian/test", controllersApi.ShangyexianTest)
		api.POST("/shangyexian/getList", controllersApi.ShangyexianList)
		api.POST("/shangyexian/allList", controllersApi.GetAllShangyexians)
		api.GET("/shangyexian/getInfo", controllersApi.GetShangyexianInfo)
		api.GET("/user/getInfo", controllersApi.GetUserInfo)
		api.GET("/queue/processData", controllersApi.ProcessData)
	}

}
